<?php
/**
 * 系统常量定义
 *
 * author    mayy<myyd@outlook.com>
 * date      2018-07-05
 */

if(!defined('IN_CT')) exit();

//当前时间
define('NOW_DATE', date('Y-m-d H:i:s', time()));
define('NOW_TIME', time());

//=======================【返回状态码相关】=============================
define('STATUS_SUCCESS', 0);	                            //操作成功
define('ERROR_FAILED', 99);	                                //操作失败


//=======================【是否删除 状态码相关】========================
define('STATUS_DELETE', 1);	                                //删除
define('STATUS_NOT_DELETE', 0);	                            //非删除


//=======================【合同状态相关】========================
define('CONTRACT_STATUS_INIT', 1);	                        //初始录入状态 / 未收回
define('CONTRACT_STATUS_RECYCLE', 2);	                    //回收
define('CONTRACT_STATUS_DISCARD', 3);	                    //废弃

//=======================【打包操作状态相关】========================
define('PACK_STATUS_BEGIN', 1);	                            //初始录入状态 / 未收回
define('PACK_STATUS_SUCCESS', 2);	                        //打包成功
define('PACK_STATUS_FAILED', 3);	                        //打包失败

define('CUSTOMER_NUMBER_PREFIX_KEY', 'custmoer_number_prefix');	  //客户编号前缀的配置key
